(custom-variable-type): Doc fix.
authorRichard M. Stallman <rms@gnu.org>
Mon, 11 Jun 2007 05:12:11 +0000 (05:12 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 11 Jun 2007 05:12:11 +0000 (05:12 +0000)
lisp/cus-edit.el

index 4dae3bab018efcafde93341f00f510a03d575175..0984fc73e43c01364cb7952dfa62c33ca6dc8957 100644 (file)
@@ -2500,7 +2500,8 @@ However, setting it through Custom sets the default value.")
 (defun custom-variable-type (symbol)
   "Return a widget suitable for editing the value of SYMBOL.
 If SYMBOL has a `custom-type' property, use that.
-Otherwise, look up symbol in `custom-guess-type-alist'."
+Otherwise, try matching SYMBOL against `custom-guess-name-alist' and
+try matching its doc string against `custom-guess-doc-alist'."
   (let* ((type (or (get symbol 'custom-type)
                   (and (not (get symbol 'standard-value))
                        (custom-guess-type symbol))